package com.hr;

import org.springframework.stereotype.Service;

import com.googlecode.cswish.annotation.ParamScope;
import com.googlecode.cswish.model.PageElement;
import com.googlecode.cswish.model.PageElements;
import com.googlecode.cswish.model.Reference;

@Service
public class SalaryItemService extends SalaryItemBaseService{
	
	public void _add(SalaryItem model, PageElements ps, Reference<Integer> parentId){

	}
	
	public void _update(SalaryItem model, @ParamScope(visible=false, value="#ps")PageElements ps){
		for(PageElement pe: ps.getAllElements().values()){
			pe.setTextModel(true);
		}
		genericService.view(model);
	}
}
